Part Number Hot Search : 
C1200 BZX85C11 DAC8043A SDR12MTX A4949 JANSR PMIR4 MAU201
Product Description
Full Text Search
 

To Download UPD784216Y Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRELIMINARY PRODUCT INFORMATION
MOS INTEGRATED CIRCUIT
PD78F4937
16-BIT SINGLE-CHIP MICROCONTROLLER
The PD78F4937, 78K/IV Series' product, is a flash memory version of the PD784937 with internal masked ROM. Data can be written to or erased from the flash memory of the PD78F4937 with the microcontroller mounted on the printed wiring board. For specific functions and other detailed information, consult the following user's manuals. These manuals are required reading for design work. PD784937 Subseries User's Manual, Hardware : To be created 78K/IV Series User's Manual, Instruction : U10905E
FEATURES
* * * * Pin-compatible with mask ROM model (except VPP pin) Flash memory: 192K bytes Internal RAM: 8,192 bytes Same operating voltage as mask ROM model (VDD = 4.0 to 5.5 V)
ORDERING INFORMATION
Part number Package 100-pin plastic LQFP (fine pitch) (14 x 14 mm) 100-pin plastic QFP (14 x 20 mm) Internal ROM Flash memory Flash memory
PD78F4937GC-8EU PD78F4937GF-3BA
The information contained in this document is being issued in advance of the production cycle for the device. The parameters for the device may change before final production or NEC Corporation, at its own discretion, may withdraw the device prior to its production.
Document No. U13573EJ1V0PM00 (1st edition) Date Published August 1998 J CP(K) Printed in Japan
(c)
1998
PD78F4937
78K/IV SERIES PRODUCT DEVELOPMENT DIAGRAM
: In production : Under development
Standard Products Development
Connectable to the I2C bus Connectable to the multimaster I2C bus
PD784038Y PD784038 PD784026
A/D converters, 16-bit timers, and power management functions have been enhanced. Internal memory has been expanded. Pin-compatible with the PD784026 Connectable to the multimaster I2C bus
PD784225Y PD784225
80 pins ROM correction function has been added. Connectable to the multimaster I2C bus
PD784216Y PD784216
100 pins I/O has been enhanced. Internal memory has been expanded.
PD784218Y PD784218
Internal memory has been expanded. ROM correction function has been added.
PD784054 PD784046
Built-in 10-bit A/D converter
ASSP Development
PD784955
DC inverter control
PD784908
Built-in IEBusTM controller
PD784937
Functions of the PD784908 have been enhanced. Internal memory has been expanded. ROM correction function has been added. Connectable to the multimaster I2C bus
PD784928Y PD784915
Software servo control Built-in analog circuit for VCR Timers have been enhanced.
PD784928
Functions of the PD784915 have been enhanced.
2
Preliminary Product Information
PD78F4937
FUNCTIONS
(1/2)
Item Number of basic instructions (mnemonics) General-purpose register Minimum instruction execution time Internal memory Memory space I/O ports Total Input Input/output Additional function pins
Note
Function 113 8 bits x 16 registers x 8 banks, or 16 bits x 8 registers x 8 banks (memory mapping) 160 ns/320 ns/636 ns/1.27 s (at 12.58 MHz)
Flash memory RAM
192K bytes 8,192 bytes Program and data: 1M byte 80 8 72 24
LED direct drive outputs Transistor direct drive N-ch open drain
8
4 4 bits x 2, or 8 bits x 1 Incorporated (simple version) Timer/counter 0 : (16 bits) Timer register x 1 Capture register x 1 Compare register x 2 Timer register x 1 Capture register x 1 Capture/compare register x 1 Compare register x 1 Timer register x 1 Capture register x 1 Capture/compare register x 1 Compare register x 1 Timer register x 1 Compare register x 1 Pulse output capability * Toggle output * PWM/PPG output * One-shot pulse output Real-time output port
Real-time output ports IEBus controller Timer/counter
Timer/counter 1 : (16 bits)
Timer/counter 2 : (16 bits)
Pulse output capability * Toggle output * PWM/PPG output
Timer 3 (16 bits) Clock timer
:
Interrupt requests are generated at 0.5-second intervals. (A clock timer oscillator is incorporated.) Either the main clock (12.58 MHz) or real-timer clock (32.768 kHz) can be selected as the input clock. Selected from fCLK, fCLK/2, fCLK/4, fCLK/8, or fCLK/16 (can be used as a 1-bit output port) 12-bit resolution x 2 channels UART/IOE (3-wire serial I/O) : 2 channels (incorporating baud rate generator) CSI (3-wire serial I/O) : 2 channels
Clock output PWM outputs Serial interface
Note Additional function pins are included in the I/O pins.
Preliminary Product Information
3
PD78F4937
(2/2)
Item A/D converter Watchdog timer ROM correction function External expansion function Standby Interrupt
Hardware source
Function 8-bit resolution x 8 channels 1 channel Internal (four correction addresses can be set.) Provided (up to 1M byte) HALT/STOP/IDLE mode 27 (20 internals, 7 externals (sampling clock variable input: 1)) BRK or BRKCS instruction, operand error 1 internal, 1 external 19 internals, 6 externals * 4-level programmable priority * 3 operation statuses: vectored interrupt, macro service, context switching
Software Nonmaskable Maskable
Power supply voltage Package
VDD = 4.0 to 5.5 V * 100-pin plastic LQFP (fine pitch) (14 x 14 mm) * 100-pin plastic QFP (14 x 20 mm)
4
Preliminary Product Information
PD78F4937
CONTENTS
1. 2. 3. 4. DIFFERENCES AMONG MODELS IN PD784937 SUBSERIES....................................................6 PIN CONFIGURATION (TOP VIEW) ................................................................................................7 BLOCK DIAGRAM ...........................................................................................................................10 LIST OF PIN FUNCTIONS ...............................................................................................................11
4.1 4.1 4.2 4.2 4.3 Port Pins (1/2) ....................................................................................................................................... 11 Port Pins (2/2) ....................................................................................................................................... 12 Non-Port Pins (1/2) ............................................................................................................................... 13 Non-Port Pins (2/2) ............................................................................................................................... 14 I/O Circuits for Pins and Handling of Unused Pins ........................................................................... 15
5.
INTERNAL MEMORY SWITCHING (IMS) REGISTER....................................................................18
6. FLASH MEMORY PROGRAMMING................................................................................................19
6.1 6.2 6.3 Selecting the Transmission Method ................................................................................................... 19 Flash Memory Programming Functions ............................................................................................. 20 Connecting the Flashpro III ................................................................................................................. 20
7. PACKAGE DRAWINGS ...................................................................................................................21 APPENDIX A DEVELOPMENT TOOLS...............................................................................................23 APPENDIX B RELATED DOCUMENTS ..............................................................................................26
Preliminary Product Information
5
PD78F4937
1. DIFFERENCES AMONG MODELS IN PD784937 SUBSERIES
The only difference among the PD784935, PD784936, and PD784937 models lie in the internal memory capacity. The PD78F4937 has a 192K-byte flash memory instead of the mask ROM featured by the PD784935,
PD784936, and PD784937. Table 1-1 shows the differences among these products.
Table 1-1. Differences Among Models in PD784937 Subseries
Product Item Internal ROM 96K bytes Mask ROM Internal RAM Regulator Internal memory switching register IC pin VPP pin
Note
PD784935
PD784936
PD784937
PD78F4937
128K bytes
192K bytes Flash memory
5,120 bytes Provided None
6,656 bytes
8,192 bytes None Provided
Provided None
None Provided
Note The internal flash memory capacity and internal RAM capacity can be changed by setting the internal memory switching register (IMS).
6
Preliminary Product Information
PD78F4937
2. PIN CONFIGURATION (TOP VIEW)
* 100-pin plastic LQFP (fine pitch) (14 x 14 mm)
PD78F4937GC-8EU
P37/TO3 P36/TO2 P35/TO1 P34/TO0 P33/SO0 P32/SCK0 P31/TxD/SO1 P30/RxD/SI1 P27/SI0 P26/INTP5 P25/INTP4/ASCK/SCK1 P24/INTP3 P23/INTP2/CI P22/INTP1 P21/INTP0 P20/NMI TX RX AVSS AVREF1 AVDD P77/ANI7 P76/ANI6 P75/ANI5 P74/ANI4
P100 P101 P102 P103 P104 P105/SCK3 P106/SI3 P107/SO3 RESET XT2 XT1 VSS X2 X1 REGOFF REGC VDD P00 P01 P02 P03 P04 P05 P06 P07
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 1 75 2 74 3 73 4 72 5 71 6 70 7 69 8 68 9 67 10 66 11 65 12 64 13 63 14 62 15 61 16 60 17 59 18 58 19 57 20 56 21 55 22 54 23 53 24 52 25 51 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
P73/ANI3 P72/ANI2 P71/ANI1 P70/ANI0 VPP PWM1 PWM0 P17 P16 P15 P14/TxD2/SO2 P13/RxD2/SI2 P12/ASCK2/SCK2 P11 P10 ASTB/CLKOUT P90 P91 P92 P93 P94 P95 P96 P97 P40/AD0
Cautions 1. In normal operation, connect the VPP pin directly to the VSS pin. 2. Connect the AVDD pin directly to the VDD pin. 3. Connect the AVSS pin directly to the VSS pin.
P67/REFRQ/HLDAK P66/WAIT/HLDRQ P65/WR P64/RD P63/A19 P62/A18 P61/A17 P60/A16 P57/A15 P56/A14 P55/A13 P54/A12 VSS VDD P53/A11 P52/A10 P51/A9 P50/A8 P47/AD7 P46/AD6 P45/AD5 P44/AD4 P43/AD3 P41/AD1 P42/AD2
Preliminary Product Information
7
PD78F4937
* 100-pin plastic QFP (14 x 20 mm)
PD78F4937GF-3BA
P25/INTP4/ASCK/SCK1
P31/TxD/SO1
P23/INTP2/CI
P30/RxD/SI1
P26/INTP5
P24/INTP3
P22/INTP1
P21/INTP0
P32/SCK0
P36/T02 P37/T03 P100 P101 P102 P103 P104 P105/SCK3 P106/SI3 P107/SO3 RESET XT2 XT1 VSS X2 X1 REGOFF REGC VDD P00 P01 P02 P03 P04 P05 P06 P07 P67/REFRQ/HLDAK P66/WAIT/HLDRQ P65/WR
1 2 3 4 5 6 7 8 9
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59
P77/ANI7
P33/SO0
P35/TO1
P34/TO0
P20/NMI
P27/SI0
AVREF1
AVDD
AVSS
RX
TX
P76/ANI6 P75/ANI5 P74/ANI4 P73/ANI3 P72/ANI2 P71/ANI1 P70/ANI0 VPP PWM1 PWM0 P17 P16 P15 P14/TxD2/SO2 P13/RxD2/SI2 P12/ASCK2/SCK2 P11 P10 ASTB/CLKOUT P90 P91 P92 P93 P94 P95 P96 P97 P40/AD0 P41/AD1 P42/AD2
10 11 12 13 14 15 16 17 18 19 20 21 22
23 58 24 57 25 56 26 55 27 54 28 53 29 52 30 51 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
P53/A11
P52/A10
P51/A9
P50/A8
P47/AD7
P46/AD6
P45/AD5
P44/AD4
Cautions 1. In normal operation, connect the VPP pin directly to the VSS pin. 2. Connect the AVDD pin directly to the VDD pin. 3. Connect the AVSS pin directly to the VSS pin.
8
Preliminary Product Information
P43/AD3
VSS
P63/A19
P62/A18
P61/A17
P60/A16
P57/A15
P56/A14
P55/A13
P54/A12
P64/RD
VDD
PD78F4937
A8-A19 AD0-AD7 ANI0-ANI7 ASTB AVDD AVREF1 AVSS CI CLKOUT HLDAK HLDRQ INTP0-INTP5 NMI P00-P07 P10-P17 P20-P27 P30-P37 P40-P47 P50-P57 P60-P67 P70-P77 P90-P97 P100-P107
: Address Bus : Address/Data Bus : Analog Input : Address Strobe : Analog Power Supply : Reference Voltage : Analog Ground : Clock Input : Clock Output : Hold Acknowledge : Hold Request : Interrupt from Peripherals : Non-maskable Interrupt : Port 0 : Port 1 : Port 2 : Port 3 : Port 4 : Port 5 : Port 6 : Port 7 : Port 9 : Port 10
PWM0, PWM1 RD REFRQ REGC REGOFF RESET RX RxD, RxD2 SCK0-SCK3 SI0-SI3 SO0-SO3 TO0-TO3 TX TxD, TxD2 VDD VPP VSS WAIT WR X1, X2 XT1, XT2
: Pulse Width Modulation Output : Read Strobe : Refresh Request : Regulator Capacitance : Regulator Off : Reset : IEBus Receive Data : Receive Data : Serial Clock : Serial Input : Serial Output : Timer Output : IEBus Transmit Data : Transmit Data : Power Supply : Programming Power Supply : Ground : Wait : Write Strobe : Crystal (Main System Clock) : Crystal (Watch)
ASCK, ASCK2 : Asynchronous Serial Clock
Preliminary Product Information
9
PD78F4937
3. BLOCK DIAGRAM
NMI INTP0-INTP5 INTP3 TO0 TO1 PROGRAMMABLE INTERRUPT CONTROLLER UART/IOE2 BAUD-RATE GENERATOR UART/IOE1 TIMER/COUNTER0 (16 bits) BAUD-RATE GENERATOR CLOCKED SERIAL INTERFACE CLOCKED SERIAL INTERFACE3 CLOCK OUTPUT TIMER3 (16 bits) RxD/SI1 TxD/SO1 ASCK/SCK1 RxD2/SI2 TxD2/SO2 ASCK2/SCK2 SCK0 SO0 SI0 SCK3 SO3 SI3 ASTB/CLKOUT AD0-AD7 A8-A15 A16-A19 RD WR WAIT/HLDRQ REFRQ/HLDAK D0-D7 A0-A16 CE OE PGM PORT 0 ANI0-ANI7 AVDD AVREF1 AVSS INTP5 A/D CONVERTER PORT 1 PORT 2 PORT 3 PORT 4 TX RX RESET X1 X2 REGC REGOFF VPP VDD VSS XT1 XT2 IEBus CONTROLLER PORT 5 PORT 6 PORT 7 SYSTEM CONTROL (REGULATOR) WATCHDOG TIMER PORT 9 PORT 10 P10-P17 P20-P27 P30-P37 P40-P47 P50-P57 P60-P67 P70-P77 P90-P97 P100-P107 P00-P07
INTP0
TIMER/COUNTER1 (16 bits)
INTP1 INTP2/CI TO2 TO3
TIMER/COUNTER2 (16 bits)
78 K/IV CPU CORE (RAM 512 bytes)
FLASH MEMORY (192K bytes)
P00-P03 P04-P07
REAL-TIME OUTPUT PORT
BUS I/F
PWM0 PWM PWM1
RAM (8,192 bytes)
WATCH TIMER
10
Preliminary Product Information
PD78F4937
4. LIST OF PIN FUNCTIONS 4.1 Port Pins (1/2)
Pin P00-P07 I/O I/O Dual-function - Function Port 0 (P0): * 8-bit I/O port. * Functions as a real-time output port (4 bits x 2). * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. * Can drive a transistor. Port 1 (P1): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. * Can drive LED.
P10 P11 P12 P13 P14 P15-P17 P20 P21 P22 P23 P24 P25 P26 P27 P30 P31 P32 P33 P34-P37 P40-P47
I/O
- - ASCK2/SCK2 RxD2/SI2 TxD2/SO2 -
Input
NMI INTP0 INTP1 INTP2/CI INTP3 INTP4/ASCK/SCK1 INTP5 SI0
Port 2 (P2): * 8-bit input-only port. * P20 does not function as a general-purpose port (nonmaskable interrupt). However, the input level can be checked by an interrupt service routine. * The use of pull-up resistors can be specified by software for pins P22 to P27 (in units of 6 bits). * The P25/INTP4/ASCK/SCK1 pin functions as the SCK1 I/O pin by CSIM1.
I/O
RxD/SI1 TxD/SO1 SCK0 SO0 TO0-TO3
Port 3 (P3): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. * P32 and P33 can be set as the N-ch open-drain pin. Port 4 (P4): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. * Can drive LED.
I/O
AD0-AD7
Preliminary Product Information
11
PD78F4937
4.1 Port Pins (2/2)
Pin P50-P57 I/O I/O Dual-function A8-A15 Function Port 5 (P5): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. * Can drive LED. Port 6 (P6): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode.
P60-P63 P64 P65 P66 P67 P70-P77
I/O
A16-A19 RD WR WAIT/HLDRQ REFRQ/HLDAK
I/O
ANI0-ANI7
Port 7 (P7): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. Port 9 (P9): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. Port 10 (P10): * 8-bit I/O port. * Inputs and outputs can be specified bit by bit. * The use of pull-up resistors can be simultaneously specified by software for all pins in input mode. * P105 and P107 can be set as the N-ch open-drain pin.
P90-P97
I/O
-
P100-P104 P105 P106 P107
I/O SCK3 SI3 SO3
-
12
Preliminary Product Information
PD78F4937
4.2 Non-Port Pins (1/2)
Pin TO0-TO3 CI RxD RxD2 TxD TxD2 ASCK ASCK2 SI0 SI1 SI2 SI3 SO0 SO1 SO2 SO3 SCK0 SCK1 SCK2 SCK3 NMI INTP0 INTP1 INTP2 INTP3 INTP4 INTP5 AD0-AD7 A8-A15 A16-A19 RD WR WAIT REFRQ HLDRQ HLDAK ASTB I/O Output Output Output Output Input Output Input Output Output Input I/O Output Input Input Output I/O Output Input Input Dual-function P34-P37 P23/INTP2 P30/SI1 P13/SI2 P31/SO1 P14/SO2 P25/INTP4/SCK1 P12/SCK2 P27 P30/RxD P13/RxD2 P106 P33 P31/TxD P14/TxD2 P107 P32 P25/INTP4/ASCK P12/ASCK P105 P20 P21 P22 P23/CI P24 P25/ASCK/SCK1 P26 P40-P47 P50-P57 P60-P63 P64 P65 P66/HLDRQ P67/HLDAK P66/WAIT P67/REFRQ CLKOUT Timer output Input of a count clock for timer/counter 2 Serial data input (UART0) Serial data input (UART2) Serial data output (UART0) Serial data output (UART2) Baud rate clock input (UART0) Baud rate clock input (UART2) Serial data input (3-wire serial I/O0) Serial data input (3-wire serial I/O1) Serial data input (3-wire serial I/O2) Serial data input (3-wire serial I/O3) Serial data output (3-wire serial I/O0) Serial data output (3-wire serial I/O1) Serial data output (3-wire serial I/O2) Serial data output (3-wire serial I/O3) Serial clock I/O (3-wire serial I/O0) Serial clock I/O (3-wire serial I/O1) Serial clock I/O (3-wire serial I/O2) Serial clock I/O (3-wire serial I/O3) External interrupt request - * Input of a count clock for timer/counter 1 * Capture/trigger signal for CR11 or CR12 * Input of a count clock for timer/counter 2 * Capture/trigger signal for CR22 * Input of a count clock for timer/counter 2 * Capture/trigger signal for CR21 * Input of a count clock for timer/counter 0 * Capture/trigger signal for CR02 - Input of a conversion start trigger for A/D converter Time multiplexing address/data bus (for connecting external memory) High-order address bus (for connecting external memory) High-order address during address expansion (for connecting external memory) Strobe signal output for reading the contents of external memory Strobe signal output for writing on external memory Wait signal insertion Refresh pulse output to external pseudo static memory Input of bus hold request Output of bus hold response Latch timing output of time multiplexing address (A0-A7) (for connecting external memory) Function
Preliminary Product Information
13
PD78F4937
4.2 Non-Port Pins (2/2)
Pin CLKOUT PWM0 PWM1 RX TX REGC REGOFF RESET X1 X2 XT1 XT2 ANI0-ANI7 AVREF1 AVDD AVSS VDD VSS VPP Input I/O Output Output Output Input Output - - Input Input - Input - Input - P70-P77 - - - Analog voltage inputs for the A/D converter Application of A/D converter reference voltage Positive power supply for the A/D converter Ground for the A/D converter Positive power supply Ground This pin is used to set the flash memory programming mode and applies a high voltage when a program is written or verified. In normal operation mode, connect this pin directly to the VSS pin. Dual-function ASTB - - - - - - - - Clock output PWM output 0 PWM output 1 Data input (IEBus) Data output (IEBus) Capacitor connection for stabilizing the regulator output Signal for specifying regulator operation Chip reset Crystal input for system clock oscillation (A clock pulse can also be input to the X1 pin.) Real-time clock connection pin Function
14
Preliminary Product Information
PD78F4937
4.3 I/O Circuits for Pins and Handling of Unused Pins
Table 4-1 describes the types of I/O circuits for pins and the handling of unused pins. Figure 4-1 shows the configuration of these various types of I/O circuits. Table 4-1. Types of I/O Circuits for Pins and Handling of Unused Pins (1/2)
Pin P00-P07 P10, P11 P12/ASCK2/SCK2 P13/RxD2/SI2 P14/TxD2/SO2 P15-P17 P20/NMI P21/INTP0 P22/INTP1 P23/INTP2/CI P24/INTP3 P25/INTP4/ASCK/SCK1 8-A I/O Input state: Output state: Connect this pin to the VDD pin. Leave this pin open. 2-A Connect these pins to the VDD pin. 2 Input Connect these pins to the VDD or VSS pin. 8-A 5-A I/O circuit type 5-A I/O I/O Recommended connection method for unused pins Input state: Output state: Connect these pins to the VDD pin. Leave these pins open.
P26/INTP5 P27/SI0 P30/RxD/SI1 P31/TxD/SO1 P32/SCK0 P33/SO0 P34/TO0-P37/TO3 P40/AD0-P47/AD7 P50/A8-P57/A15 P60/A16-P63/A19 P64/RD P65/WR P66/WAIT/HLDRQ P67/REFRQ/HLDAK P70/ANI0-P77/ANI7 P90-P97 P100-P104 P105/SCK3 P106/SI3 P107/SO3 ASTB/CLKOUT
2-A
Input
Connect these pins to the VDD pin.
5-A
I/O
Input state: Output state:
Connect these pins to the VDD pin. Leave these pins open.
10-A
5-A
20 5-A
I/O
Input state: Output state:
Connect these pins to the VDD or VSS pin. Leave these pins open.
10-A 8-A 10-A 4 Output Leave this pin open.
Preliminary Product Information
15
PD78F4937
Table 4-1. Types of I/O Circuits for Pins and Handling of Unused Pins (2/2)
Pin RESET XT2 XT1 REGOFF REGC PWM0, PWM1 RX TX AVREF1 AVSS AVDD VPP Input Connect this pin to the VDD pin. Connect this pin directly to the VSS pin. I/O circuit type 2 - - 1 - 3 2 3 - I/O Input - Input - - Output Input Output - Leave this pin open. Connect this pin to the VDD or VSS pin. Leave this pin open. Connect these pins to the VSS pin. Leave this pin open. Connect this pin to the VSS pin. Connect these pins to the VDD pin. Recommended connection method for unused pins -
Caution
When the I/O mode of an I/O dual-function pin is unpredictable, connect the pin to VDD through a resistor of 10 to 100 kilohms (particularly when the voltage of the reset input pin becomes higher than that of the low level input at power-on or when I/O is switched by software).
Remark
Since type numbers are consistent in the 78K Series, those numbers are not always serial in each product. (Some circuits are not included.)
16
Preliminary Product Information
PD78F4937
Figure 4-1. I/O Circuits for Pins Type 1
VDD P
Type 2-A
VDD Pull-up enable
P
IN N
IN
Type 2
IN Schmitt trigger input with hysteresis characteristics Schmitt trigger input with hysteresis characteristics
Type 5-A
VDD Pull-up enable
VDD
Type 3
P VDD P IN/OUT
Data
P-ch Data N-ch OUT
Output disable Input enable
N
Type 4
VDD Data P OUT Output disable N
Pull-up enable Data VDD P IN/OUT
Type 8-A
VDD P
Push-pull output which can output high impedance (both the positive and negative channels are off.)
Output disable
N
Type 10-A
VDD Pull-up enable VDD P IN/OUT N
Type 20
P
VDD Data P IN/OUT
Data Open drain Output disable
Output disable Comparator
N
Type 12
Analog output voltage P OUT N
Input enable
+ - VREF (Threshold voltage)
P N
Preliminary Product Information
17
PD78F4937
5. INTERNAL MEMORY SWITCHING (IMS) REGISTER
This register enables the software to avoid using part of the internal memory. The IMS register can be set to establish the same memory mapping as used in ROM products that have different internal memory (ROM and RAM) configurations. The IMS register is set using 8-bit memory operation instructions. A RESET input sets the IMS register to FFH. Figure 5-1. Internal Memory Switching (IMS) Register
Address: 0FFFCH 7 IMS 1 6 1 When reset: FFH 5 ROM1 4 ROM0 W/R 3 1 2 1 1 RAM1 0 RAM0
ROM1 0 0 1 1
ROM0 0 1 0 1
Internal ROM capacity selection Not to be set 96K bytes 128K bytes 192K bytes
RAM1 0 0 1 1
RAM0 0 1 0 1
Internal RAM capacity selection Not to be set 5,120 bytes 6,656 bytes 8,192 bytes
Caution
The IMS is not contained in a mask ROM product (PD784935, PD784936, or PD784937).
The IMS setting to obtain the same memory map as masked ROM products are shown in Table 5-1. Table 5-1. Internal Memory Switching Register (IMS) Setting Value
Product IMS setting value DDH EEH FFH
PD784935 PD784936 PD784937
18
Preliminary Product Information
PD78F4937
6. FLASH MEMORY PROGRAMMING
The flash memory can be written even while the device is mounted in the target system (on-board write). To write a program into the flash memory, connect the dedicated flash writer (Flashpro III) to both the host machine and target system. Remark The Flashpro III is manufactured by Naito Densei Machida Mfg. Co., Ltd.
6.1
Selecting the Transmission Method
The Flashpro III writes into flash memory by means of serial transmission. The transmission method to be used for writing is selected from those listed in Table 6-1. To select a transmission method, use the format shown in Figure 6-1, according to the number of VPP pulses listed in Table 6-1. Table 6-1. Transmission Methods
Transmission method 3-wire serial I/O Number of channels 1 SCK3/P105 SO3/P107 SI3/P106 TxD/SO1/P31 RxD/SI1/P30 Pins Number of VPP pulses 0
UART
1
8
Caution
To select a transmission method, always use the corresponding number of VPP pulses listed in Table 6-1. Figure 6-1. Format of Transmission Method Selection
10 V VPP VDD 1 VSS VDD RESET VSS 2 n
Preliminary Product Information
19
PD78F4937
6.2 Flash Memory Programming Functions
Flash memory writing and other operations can be performed by transmitting/receiving commands and data according to the selected transmission method. Table 6-2 lists the main flash memory programming functions. Table 6-2. Main Flash Memory Programming Functions
Function Batch erase Block erase Batch blank check Block blank check Data write Erases the entire contents of memory. Erases the contents of specified memory block. Checks that the entire contents of memory have been erased. Checks that the contents of specified block have been erased. Write to the flash memory according to the specified write start address and number of bytes of data to be written. Compares the entire contents of memory with the input data. Compares the contents of specified memory block with the input data. Description
Batch verify Block verify
6.3
Connecting the Flashpro III
The connection between the Flashpro III and PD78F4937 varies with the transmission method. Figures 6-2 and 6-3 show the connection for each transmission method. Figure 6-2. Flashpro III Connection in 3-Wire Serial I/O Mode
Flashpro III VPP VDD RESET SCK SO SI VSS VPP VDD RESET SCK SI SO VSS
PD78F4937
Figure 6-3. Flashpro III Connection in UART Mode
Flashpro III
PD78F4937
VPP VDD RESET SO SI VSS
VPP VDD RESET RxD TxD VSS
20
Preliminary Product Information
PD78F4937
7. PACKAGE DRAWINGS
100PIN PLASTIC QFP (14x20)
A B
80 81
51 50
detail of lead end CD
S Q R
100 1
31 30
F G H I
M
J
P
K M N L
ITEM A B C D F G H I J K L M N P Q R S MILLIMETERS 23.60.4 20.00.2 14.00.2 17.60.4 0.8 0.6 0.300.10 0.15 0.65 (T.P.) 1.80.2 0.80.2 0.15 +0.10 -0.05 0.10 2.70.1 0.10.1 55 3.0 MAX. INCHES 0.9290.016 0.795 +0.009 -0.008 0.551 +0.009 -0.008 0.6930.016 0.031 0.024 0.012 +0.004 -0.005 0.006 0.026 (T.P.) 0.071 +0.008 -0.009 0.031 +0.009 -0.008 0.006 +0.004 -0.003 0.004 0.106 +0.005 -0.004 0.0040.004 55 0.119 MAX. P100GF-65-3BA1-3
NOTE Each lead centerline is located within 0.15 mm (0.006 inch) of its true position (T.P.) at maximum material condition.
REMARK The shape and material of the ES product is the same as the mass produced product.
Preliminary Product Information
21
PD78F4937
100 PIN PLASTIC LQFP (FINE PITCH) (14x14)
A B
75 76
51 50
detail of lead end
CD
S Q R
100 1
26 25
F G P H I
M
J K M
N
NOTE Each lead centerline is located within 0.08 mm (0.003 inch) of its true position (T.P.) at maximum material condition.
L
ITEM A B C D F G H I J K L M N P Q R S MILLIMETERS 16.000.20 14.000.20 14.000.20 16.000.20 1.00 1.00 0.22 +0.05 -0.04 0.08 0.50 (T.P.) 1.000.20 0.500.20 0.17 +0.03 -0.07 0.08 1.400.05 0.100.05 3 +7 -3 1.60 MAX. INCHES 0.6300.008 0.551 +0.009 -0.008 0.551 +0.009 -0.008 0.6300.008 0.039 0.039 0.0090.002 0.003 0.020 (T.P.) 0.039 +0.009 -0.008 0.020 +0.008 -0.009 0.007 +0.001 -0.003 0.003 0.0550.002 0.0040.002 3 +7 -3 0.063 MAX. S100GC-50-8EU
REMARK The shape and material of the ES product is the same as the mass produced product.
22
Preliminary Product Information
PD78F4937
APPENDIX A DEVELOPMENT TOOLS
The following development tools are available for system development using the PD78F4937. See also (5). (1) Language processing software
RA78K4 CC78K4 DF784937 CC78K4-L Assembler package used in common with 78K/IV Series C compiler package used in common with 78K/IV Series Device file for PD784937 Subseries C compiler library source file used in common with 78K/IV Series
(2) Flash memory write tools
Flashpro Ill (PG-FPIII) FA-100GF Flash memory writing adapter for 100-pin plastic QFP (GF-3BA type). Wiring must be performed according to product being used. Flash memory writing adapter for 100-pin plastic LQFP (GC-8EU type). Wiring must be performed according to product being used.
Note Note
Flash writer used only for microcontrollers with internal flash memory
FA-100GC
Flashpro III controller
Program controlled by a personal computer and which is supported by Flashpro III. TM Runs under Windows 95, etc.
(3) Debugging tools * When using the in-circuit emulator IE-78K4-NS
In-circuit emulator used in common with 78K/IV Series Power supply unit for IE-78K4-NS Interface adapter when the PC-9800 series computer (other than a notebook) is used as the host machine PC card and interface cable when a PC-9800 series notebook is used as the host machine Interface adapter when the IBM PC/AT
Note TM
IE-78K4-NS IE-70000-MC-PS-B IE-70000-98-IF-C
IE-70000-CD-IF-C
IE-70000-PC-IF-C IE-784937-NS-EM1 NP-100GF NP-100GC EV-9200-GF-100
compatible is used as the host machine
Emulation board for emulating PD784937 Subseries Emulation probe for 100-pin plastic QFP (GF-3BA type) Emulation probe for 100-pin plastic LQFP (GC-8EU type) Socket for mounting on target system board made for 100-pin plastic QFP (GF3BA type) Conversion adapter for connecting the target system board made for 100-pin plastic LQFP (GC-8EU type) with NP-100GC Integrated debugger for IE-78K4-NS System simulator used in common with 78K/IV Series Device file for PD784937 Subseries
TGC-100SDW
ID78K4-NS SM78K4 DF789437
Note Under development
Preliminary Product Information
23
PD78F4937
* When using the in-circuit emulator IE-784000-R
In-circuit emulator used in common with 78K/IV Series Interface adapter when the PC-9800 series computer (other than a notebook) is used as the host machine Interface adapter and cable when a PC-9800 series notebook is used as the host machine Interface adapter when the IBM PC/AT compatible is used as the host machine
IE-784000-R IE-70000-98-IF-B IE-70000-98-IF-C IE-70000-98N-IF
IE-70000-PC-IF-B IE-70000-PC-IF-C IE-78000-R-SV3 IE-784937-NS-EM1 IE-784937-R-EM1 IE-78400-R-EM IE-78K4-R-EX2 EP-78064GF-R EP-78064GC-R EV-9200GF-100
Note Note Note
Interface adapter and cable when the EWS is used as the host machine Emulation board for emulating PD784937 Subseries
Emulation board used in common with 78K/IV Series Conversion board for emulation probes required to use the IE-784937-NS-EM1 on the IE-784000-R. The board is not needed when the IE-784937-R-EM1 is used. Emulation probe for 100-pin plastic QFP (GF-3BA type) Emulation probe for 100-pin plastic LQFP (GC-8EU type) Socket for mounting on target system board made for 100-pin plastic QFP (GF-3BA type) Conversion adapter for connecting the target system board made for 100-pin plastic LQFP (GC-8EU type) with NP-100GC Integrated debugger for IE-784000-R System simulator used in common with 78K/IV Series Device file for PD784937 Subseries
TGC-100SDW
ID78K4 SM78K4 DF784937
Note Under development (4) Real-time OS
RX78K/IV MX78K4 Real-time OS for 78K/IV Series OS for the 78K/IV Series
24
Preliminary Product Information
PD78F4937
(5) Notes when using development tools * The ID78K4-NS, ID78K4, and SM78K4 can be used in combination with the DF784937. * The CC78K4 and RX78K/IV can be used in combination with the RA78K4 and DF784937. * The Flashpro III, FA-100GF, FA-100GC, NP-100GF, and NP-100GC are manufactured by Naito Densei Machida Mfg. Co., Ltd. (044-822-3813). Consult the NEC sales representative for purchasing. * The TGC-100SDW is a product from TOKYO ELETECH CORPORATION. Refer to: Daimaru Kogyo, Ltd. Tokyo Electronic Components Division (03-3820-7112) Osaka Electronic Components Division (06-244-6672) * The host machines and operating systems corresponding to each software are shown below.
Host machine [OS] PC PC-9800 series [Windows] IBM PC/AT compatibles [Japanese/English Windows]
Note Note TM
EWS HP9000 series 700 SPARCstation NEWS
TM TM
[HP-UX
TM
TM
]
TM
[SunOS
, Solaris
TM
]
Software RA78K4 CC78K4 ID78K4-NS ID78K4 SM78K4 RX78K/IV MX78K4
(RISC) [NEWS-OS - -
]

Note Note
Note Software under MS-DOS
Preliminary Product Information
25
PD78F4937
APPENDIX B RELATED DOCUMENTS
* Documents Related to Devices
Document name Document No. Japanese English To be created This manual To be created - U10905E - - U10095E
PD784935, 784936, 784937 Preliminary Product Information PD78F4937 Preliminary Product Information PD784937 Subseries User's Manual, Hardware PD784937 Subseries Special Function Registers
78K/IV Series User's Manual, Instruction 78K/IV Series Instruction Summary Sheet 78K/IV Series Instruction Set 78K/IV Series Application Note, Software Basic
U13572J U13573J To be created To be created U10905J U10594J U10595J U10095J
*
Documents Related to Development Tools (User's Manual)
Document name Document No. Japanese RA78K Series Assembler Package Operation Language RA78K Series Structured Assembler Preprocessor CC78K Series C Compiler Operation Language IE-78K4-NS IE-784000-R IE-784937-R-EM1 IE-784937-NS-EM1 EP-78064 SM78K4 System Simulator Windows Base SM78K Series System Simulator Reference
External Parts User Open Interface Specifications
English U11334E U11162E U11743E U11571E U11572E To be created EEU-1534 To be created To be created EEU-1469 U10093E U10092E
U11334J U11162J U11743J U11571J U11572J U13356J U12903J To be created To be created EEU-934 U10093J U10092J
ID78K4-NS Integrated Debugger ID78K4 Integrated Debugger Windows Base ID78K4 Integrated Debugger HP-UX, SunOS, NEWS-OS Base
Reference Reference Reference
U12796J U10440J U11960J
U12796E U10440E U11960E
Caution
The above documents may be revised without notice. Use the latest versions when you design application systems.
26
Preliminary Product Information
PD78F4937
* Documents Related to Software to Be Incorporated into the Product (User's Manual)
Document name Document No. Japanese 78K/IV Series Real-Time OS Basic Installation Debugger OS for 78K/IV Series MX78K4 U10603J U10604J U10364J U11779J English U10603E U10604E - -
*
Other Documents
Document name Document No. Japanese IC PACKAGE MANUAL SMD Surface Mount Technology Manual Quality Grades on NEC Semiconductor Device NEC Semiconductor Device Reliability/Quality Control System Guide to Prevent Damage for Semiconductor Devices by Electrostatic Discharge (ESD) Semiconductor Device Quality Control/Reliability Handbook Guide for Products Related to Microcomputer: Other Companies C10943X C10535J C11531J C10983J C11892J C12769J U11416J C10535E C11531E C10983E C11892E - - English
Caution
The above documents may be revised without notice. Use the latest versions when you design application systems.
Preliminary Product Information
27
PD78F4937
[MEMO]
28
Preliminary Product Information
PD78F4937
NOTES FOR CMOS DEVICES
1 PRECAUTION AGAINST ESD FOR SEMICONDUCTORS
Note: Strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide and ultimately degrade the device operation. Steps must be taken to stop generation of static electricity as much as possible, and quickly dissipate it once, when it has occurred. Environmental control must be adequate. When it is dry, humidifier should be used. It is recommended to avoid using insulators that easily build static electricity. Semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. All test and measurement tools including work bench and floor should be grounded. The operator should be grounded using wrist strap. Semiconductor devices must not be touched with bare hands. Similar precautions need to be taken for PW boards with semiconductor devices on it.
2 HANDLING OF UNUSED INPUT PINS FOR CMOS
Note: No connection for CMOS device inputs can be cause of malfunction. If no connection is provided to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels of CMOS devices must be fixed high or low by using a pull-up or pull-down circuitry. Each unused pin should be connected to VDD or GND with a resistor, if it is considered to have a possibility of being an output pin. All handling related to the unused pins must be judged device by device and related specifications governing the devices.
3 STATUS BEFORE INITIALIZATION OF MOS DEVICES
Note: Power-on does not necessarily define initial status of MOS device. Production process of MOS does not define the initial operation status of the device. Immediately after the power source is turned ON, the devices with reset function have not yet been initialized. Hence, power-on does not guarantee out-pin levels, I/O settings or contents of registers. Device is not initialized until the reset signal is received. Reset operation must be executed immediately after power-on for devices having reset function.
Preliminary Product Information
29
PD78F4937
IEBus is a trademark of NEC Corporation. Windows is a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. PC/AT is a trademark of IBM Corporation. HP9000 series 700 and HP-UX are trademarks of Hewlett-Packard Company. SPARCstation is a trademark of SPARC International, Inc. Solaris and SunOS are trademarks of Sun Microsystems, Inc. NEWS and NEWS-OS are trademarks of SONY Corporation.
30
Preliminary Product Information
PD78F4937
Regional Information
Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify:
* * * * *
Device availability Ordering information Product release schedule Availability of related technical literature Development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, AC supply voltages, and so forth) Network requirements
*
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country.
NEC Electronics Inc. (U.S.)
Santa Clara, California Tel: 408-588-6000 800-366-9782 Fax: 408-588-6130 800-729-9288
NEC Electronics (Germany) GmbH
Benelux Office Eindhoven, The Netherlands Tel: 040-2445845 Fax: 040-2444580
NEC Electronics Hong Kong Ltd.
Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044
NEC Electronics Hong Kong Ltd. NEC Electronics (France) S.A.
Velizy-Villacoublay, France Tel: 01-30-67 58 00 Fax: 01-30-67 58 99 Seoul Branch Seoul, Korea Tel: 02-528-0303 Fax: 02-528-4411
NEC Electronics (Germany) GmbH
Duesseldorf, Germany Tel: 0211-65 03 02 Fax: 0211-65 03 490
NEC Electronics (France) S.A. NEC Electronics (UK) Ltd.
Milton Keynes, UK Tel: 01908-691-133 Fax: 01908-670-290 Spain Office Madrid, Spain Tel: 01-504-2787 Fax: 01-504-2860
NEC Electronics Singapore Pte. Ltd.
United Square, Singapore 1130 Tel: 65-253-8311 Fax: 65-250-3583
NEC Electronics Taiwan Ltd. NEC Electronics Italiana s.r.1.
Milano, Italy Tel: 02-66 75 41 Fax: 02-66 75 42 99
NEC Electronics (Germany) GmbH
Scandinavia Office Taeby, Sweden Tel: 08-63 80 820 Fax: 08-63 80 388
Taipei, Taiwan Tel: 02-719-2377 Fax: 02-719-5951
NEC do Brasil S.A.
Cumbica-Guarulhos-SP, Brasil Tel: 011-6465-6810 Fax: 011-6465-6829
J98. 2
Preliminary Product Information
31
PD78F4937
Some related documents may be preliminary versions. Note that, however, what documents are preliminary is not indicated in this document.
No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Corporation. NEC Corporation assumes no responsibility for any errors which may appear in this document. NEC Corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. No license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Corporation or others. While NEC Corporation has been making continuous effort to enhance the reliability of its semiconductor devices, the possibility of defects cannot be eliminated entirely. To minimize risks of damage or injury to persons or property arising from a defect in an NEC semiconductor device, customers must incorporate sufficient safety measures in its design, such as redundancy, fire-containment, and anti-failure features. NEC devices are classified into the following three quality grades: "Standard", "Special", and "Specific". The Specific quality grade applies only to devices developed based on a customer designated "quality assurance program" for a specific application. The recommended applications of a device depend on its quality grade, as indicated below. Customers must check the quality grade of each device before using it in a particular application. Standard: Computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots Special: Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support) Specific: Aircrafts, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems or medical equipment for life support, etc. The quality grade of NEC devices is "Standard" unless otherwise specified in NEC's Data Sheets or Data Books. If customers intend to use NEC devices for applications other than those specified for Standard quality grade, they should contact an NEC sales representative in advance. Anti-radioactive design is not implemented in this product.
M4 96. 5


▲Up To Search▲   

 
Price & Availability of UPD784216Y

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X